package wzc.design_pattern.creation.factory.factory_method;

/**
 * @Author 王振川
 * @Date 2025/7/19
 */

public class FactoryMethodDemo {
    public static void main(String[] args) {
        Factory factory = new FactoryA();
        Product product = factory.createProduct();
        product.use();
    }
}
